import Vue from 'vue'
import VueRouter from 'vue-router'
import shou from '../views/shou.vue'
import fen from '../views/fen.vue'
import sou from '../views/sou.vue'
import xiang from '../views/xiang.vue'
import xqing from '../views/xqing.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'shou',
    component: shou
  },
  {
    path: '/shou',
    name: 'shou',
    component: shou
  },
  {
    path: '/sou',
    name: 'sou',
    component: sou
  },
  {
    path: '/fen',
    name: 'fen',
    component: fen,
  },
  {
    path: '/xiang',
    name: 'xiang',
    component: xiang,
  },
  {
    path: '/xqing',
    name: 'xqing',
    component: xqing,
  },
]

const router = new VueRouter({
  routes
})

export default router
